﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestItems.Model
{
    /// <summary>
    /// 添加mes任务输入
    /// </summary>
    public class MesOrdreInput
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 创建任务人员
        /// </summary>
        public string CreateUserName { get; set; }
        /// <summary>
        /// 创建任务人员id
        /// </summary>
        public long CreateUserId { get; set; }
        /// <summary>
        /// 加工设备编号
        /// </summary>
        public string Device { get; set; }
        /// <summary>
        /// 加工产品
        /// </summary>
        public string Product { get; set; }
        /// <summary>
        /// 覆盖任务
        /// </summary>
        public bool IsOverwriteTasks { get; set; }
        /// <summary>
        /// 刀具清单
        /// </summary>

        public List<MesToolRequestData> ToolDetial { get; set; }
    }
    /// <summary>
    /// mes刀具请求数量
    /// </summary>
    public class MesToolRequestData
    {
        /// <summary>
        /// 刀具类型
        /// </summary>
        public string ToolType { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }
    }
}
